home *** CD-ROM | disk | FTP | other *** search
- Path: prodigy.com!usenet
- From: GQXN85A@prodigy.com (Richard Orlando)
- Newsgroups: comp.lang.c
- Subject: Re: interesting program
- Date: 16 Apr 1996 03:13:48 GMT
- Organization: Prodigy Services Company 1-800-PRODIGY
- Distribution: world
- Message-ID: <4kv39c$1tps@usenetp1.news.prodigy.com>
- References: <4ka96c$jt3@mirv.unsw.edu.au> <4kmi43$ff4@airdmhor.gen.nz>
- NNTP-Posting-Host: innugap3-int.news.prodigy.com
- X-Newsreader: Version 1.2
-
- >
- >system PRIVILEGED account:
- >> can someone write a program which when compiled and executed, will
- produce the
- >> source code itself, i.e. for example, the program is called hello.c,
- when we
- >> executed hello>test, the content of test will be the same as hello.c !
- Of
- >> course, we cannot use the method of reading the file hello.c
- >
- > It's in somebody's .Sig on here.. shouldn't be hard to find.
- I quess it is possible, but the compiled code would have to include
- symbolic debuging information and the source file would also have to be
- in the same place as the exe etc...
-
-